[DEPRECATED] Marker
DEPRECATED: Use the new endpoints instead:
/convertfor document conversion/extractfor structured data extraction/segmentfor document segmentation/custom-pipelinefor custom pipeline execution
This endpoint will be removed in a future version.
Body
Note: This parameter has been deprecated, and will be ignored in the current version. The languages to use if OCR is needed, comma separated. Must be either the names or codes from https://github.com/datalab-to/surya/blob/master/surya/languages.py. Any other inputs will be ignored.
Merge content that is split across pages back into single logical blocks: tables (long tables continued vertically, and wide tables printed as per-page column panels), paragraphs broken mid-sentence, and lists continued on the next page (continuation items keep the indent level of the list they belong to). Merged blocks carry a data-merged-pages attribute listing their source pages. Billed as a compute surcharge on the measured merge cost, like agent extraction.
Disable pretty-printing of the HTML output. By default the HTML is indented with each tag on its own line, which browsers render as visible extra spaces around inline tags (e.g. '( 23 )' instead of '(23)'). Set to True to receive compact HTML that renders exactly as parsed. Only applies when output_format includes 'html'.
Transcribe text exactly as printed, character for character. Typos, misspellings, abbreviations, capitalization, punctuation and number or date formats in the document are kept instead of being corrected or normalized. Recommended when the output must match the source exactly (regulated, medical or legal documents).
The schema to use for document segmentation. JSON object (passed as a string) with a 'segments' list of {name, description} objects and an optional 'segmentation_strategy' ('custom' to honor the provided segments, 'document_boundary' for automatic detection). Same format as the /segment endpoint's segmentation_schema.
Comma-separated list of extra features to enable. Currently supports: 'track_changes', 'chart_understanding', 'table_cell_bboxes' (per-cell bounding boxes for each table, instead of one box for the whole table; includes word bounding boxes), 'list_item_bboxes' (per-item bounding boxes for each list or list group, instead of one box for the whole list; includes word bounding boxes), 'extract_links', 'extract_bookmarks' (PDF outline/bookmark tree in metadata.pdf_bookmarks; safety-limit truncation is reported by metadata.pdf_bookmarks_truncated), 'infographic', 'new_block_types'.
Response
Successful Response